package org.dioib.practice.common.constant;

public enum Serial {
    OK(1),
    ERR(2),
    CTRL_ERROR(3),
    SERV_ERROR(4),
    CTRL_NOT_DATA(6),
    SERV_NOT_DATA(7),
    CTRL_ARG_ERROR(8),
    SERV_ARG_ERROR(9),
    USER_ARG_ERROR(10),
    ORDER_ARG_ERROR(11);

    private final int value;

    Serial(int value) {
        this.value = value;
    }

    public int value(){
        return value;
    }
}
